package zsj.androidknife;

import android.content.Context;

import zsj.androidknife.utilsImpl.FileUtils;
import zsj.androidknife.utilsImpl.HttpUtils;
import zsj.androidknife.utilsImpl.ImageUtils;
import zsj.androidknife.utilsImpl.ThreadUtils;

/**
 * Created by Administrator on 2016/4/19 0019.
 */
public class AndroidKnife
{

    private AndroidKnife(){}

    public static FileUtils getFileUtils()
    {
        return FileUtils.getInstance();
    }

    public static HttpUtils getHttpUtils(Context context)
    {
        Constants.setContext(context);
        return HttpUtils.getInstance();
    }

    public static ImageUtils getImageUtils(Context context)
    {
        Constants.setContext(context);
        return ImageUtils.getInstance();
    }

    public static ThreadUtils getThreadUtils()
    {
        return ThreadUtils.getInstance();
    }

}
